/**
 * jims
 */
package com.jims.master.modules.finance.entity;

import com.jims.master.modules.oper.entity.PriceList;
import org.hibernate.validator.constraints.Length;

import com.jims.master.common.persistence.DataEntity;

import java.util.List;
/**
 * 收费系数Entity
 * @author 赵宁
 * @version 2017-06-12
 */
public class ChargePriceSchedule extends DataEntity<ChargePriceSchedule> {
	
	private static final long serialVersionUID = 1L;
	private String chargeType;		// 费别
	private String priceId;		// 诊疗项目ID
	private String itemName;//项目名称
	private String itemCode;		// 收费项目编码
	private String itemSpec;		// 项目规格
	private String priceCoeffType;		// 优惠类型 0 ，折扣 1，减免
	private String priceCoeffDreate;		// 减免金额
	private String priceCoeffMolecular;		// 收费折扣分子
	private String priceCoeffDenominator;		// 收费折扣分母
	private String outOrIn;//门诊住院标志 0：门诊 1：住院


	public ChargePriceSchedule() {
		super();
	}

	public ChargePriceSchedule(String id){
		super(id);
	}

	@Length(min=1, max=64, message="费别长度必须介于 1 和 64 之间")
	public String getChargeType() {
		return chargeType;
	}

	public void setChargeType(String chargeType) {
		this.chargeType = chargeType;
	}
	
	@Length(min=1, max=100, message="收费项目编码长度必须介于 1 和 100 之间")
	public String getItemCode() {
		return itemCode;
	}

	public void setItemCode(String itemCode) {
		this.itemCode = itemCode;
	}
	
	@Length(min=1, max=200, message="项目规格长度必须介于 1 和 200 之间")
	public String getItemSpec() {
		return itemSpec;
	}

	public void setItemSpec(String itemSpec) {
		this.itemSpec = itemSpec;
	}
	
	@Length(min=1, max=2, message="优惠类型 0 ，折扣 1，减免长度必须介于 1 和 2 之间")
	public String getPriceCoeffType() {
		return priceCoeffType;
	}

	public void setPriceCoeffType(String priceCoeffType) {
		this.priceCoeffType = priceCoeffType;
	}
	
	@Length(min=1, max=100, message="减免金额长度必须介于 1 和 100 之间")
	public String getPriceCoeffDreate() {
		return priceCoeffDreate;
	}

	public void setPriceCoeffDreate(String priceCoeffDreate) {
		this.priceCoeffDreate = priceCoeffDreate;
	}
	
	@Length(min=1, max=10, message="收费折扣分子长度必须介于 1 和 10 之间")
	public String getPriceCoeffMolecular() {
		return priceCoeffMolecular;
	}

	public void setPriceCoeffMolecular(String priceCoeffMolecular) {
		this.priceCoeffMolecular = priceCoeffMolecular;
	}
	
	@Length(min=1, max=10, message="收费折扣分母长度必须介于 1 和 10 之间")
	public String getPriceCoeffDenominator() {
		return priceCoeffDenominator;
	}

	public void setPriceCoeffDenominator(String priceCoeffDenominator) {
		this.priceCoeffDenominator = priceCoeffDenominator;
	}

	public String getItemName() {
		return itemName;
	}

	public void setItemName(String itemName) {
		this.itemName = itemName;
	}

	public String getPriceId() {
		return priceId;
	}

	public void setPriceId(String priceId) {
		this.priceId = priceId;
	}

	public String getOutOrIn() {
		return outOrIn;
	}

	public void setOutOrIn(String outOrIn) {
		this.outOrIn = outOrIn;
	}

}